<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<li><a href="admin.php?ac=index&fileurl=config">系统设置</a></li>
<li><a href="admin.php?ac=usergroup&fileurl=user">权限设置</a></li>
<li><a href="admin.php?ac=index&fileurl=user">账号设置</a></li>
<li><a href="admin.php?ac=log&fileurl=config" id="Subnavb">系统维护</a></li>
<li><a href="admin.php?ac=data&fileurl=config">数据备份</a></li>

</ul>
</div>
<div id="MainBody">


<form name="update" method="post" action="admin.php?ac=userlog&fileurl=config">
<div id="CodeWrap">
<div id="TabSwitch">
<ul>
 
 
<li><a href="admin.php?ac=log&fileurl=config">登录日志</a></li>
<li class="active"><a href="admin.php?ac=userlog&fileurl=config">操作日志</a></li>
</ul>

 
</div>
<div id="CodeShowBlockWrap">
<div id="QueryBar">
<div id="FilterWrap">
<label for="FilterStatus"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="15%"><input type="checkbox" class="checkbox" value="1" name="chkall" onClick="check_all(this)" /><b>全选</b>&nbsp;&nbsp;<input type="submit" name="do" id="button" value="删 除"/></td>
    <td width="85%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;<?=showpage($num,$pagesize,$page,$url)?></td>
  </tr>
</table>
</label>
</div>
</div>

<div id="CodeShowBlock">
<table cellpadding="0" cellspacing="0" class="data-box"><thead>
<tr class="border-in">
<th width="36"><div>选项</div></th>
<th class="scale"><div>用户</div></th>
<th class="title"><div>主题</div></th>
<th class="scale"><div>内容</div></th>
<th class="scale"><div>操作时间</div></th>
<th class="status"><div>类型</div></th>
</tr>
</thead><tbody>

<?foreach ($result as $row) {?>
<tr class="data-box-row">
<td width="36" align="center"><input type="checkbox" name="id[]" value="<?=$row['id']?>"  class="checkbox" /></td>
<td class="status"><?=GET_INC_USER_NAME($row['uid'])?></td>
<td class="title"><?=$row['title']?></td>
<td class="scale">
<?php
$content=explode('|515158.com|',$row[content]); 
$contentdata="";
for($i=0;$i<sizeof($content);$i++)
{
	if($content[$i]!=''){
	$contentdata=$contentdata.$content[$i];
	}
}
?>
<a href="#" title="<?=$contentdata?>"><?=substr($contentdata,0,80)?></a></td>
<td class="scale"><?=$row['startdate']?></td>
<td class="status">
<?php
switch ($row['type'])
{
case 1:
  echo "系统设置";
  break;
case 2:
  echo "权限组设置";
  break;
case 3:
  echo "用户帐号";
  break;
case 4:
  echo "短消息";
  break;
case 5:
  echo "电子邮件";
  break;
case 6:
  echo "手机短信";
  break;
case 7:
  echo "个人考勤";
  break;
case 8:
  echo "个人假条";
  break;
case 9:
  echo "通讯录";
  break;
case 10:
  echo "工作日程";
  break;
case 11:
  echo "工作日记";
  break;
case 12:
  echo "工作计划";
  break;
case 13:
  echo "新闻";
  break;
case 14:
  echo "发文";
  break;
case 15:
  echo "收文";
  break;
case 16:
  echo "传真";
  break;
case 17:
  echo "知识";
  break;
case 18:
  echo "部门";
  break;
case 19:
  echo "会议";
  break;
case 20:
  echo "档案";
  break;
case 21:
  echo "收藏";
  break;
default:
  echo "错误类型";
}
?></td>
</tr>
<?}?>


</tbody></table>
 
</div>
<div id="PageControl">
<div class="page-control">
<div class="border-in">
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="15%">&nbsp;&nbsp;<input type="checkbox" class="checkbox" value="1" name="chkall" onClick="check_all(this)" /><b>全选</b>&nbsp;&nbsp;<input type="submit" name="do" id="button" value="删 除"/></td>
    <td width="85%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;<?=showpage($num,$pagesize,$page,$url)?></td>
  </tr>
</table>
  

</div>
</div>
</div>
</div>
</div>
 </form>
</div>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
